<?php 
if ( $_POST['login'] != '' ){
	$objLogin = new usuarioCliente($objConn);
	if ( $objLogin->vericarUsuario(md5($_POST['login']), md5($_POST['senha'])) ){
		echo "<script>window.location = 'paginaAcesso.php' </script>";
	}else{
		echo '<h1>Erro, verifique seu usuário ou senha.</h1>';
	}
}	
?>
        <form id="frmLogin" name="frmLogin" method="post" action="">
            <table width="100%" border="0" align="left" cellpadding="0" cellspacing="0">
              <tr>
                <td width="20%" align="left" valign="top"><strong>E-mail</strong>: </td>
                <td width="80%" align="left" valign="top"><input name="login" type="text" class="texta validate[required,minSize[4],maxSize[100]] text-input" value="" id="login" /></td>
              </tr>
              <tr>
                <td align="left" valign="top"><strong>Senha</strong>: </td>
                <td align="left" valign="top"><input name="senha" type="password" class="texta validate[required,minSize[4],maxSize[10]" value="" align="absmiddle" id="senha" />
                  <input name="bnt_ok" type="image" class="fakeSelectImg" id="bnt_ok" src="images/botao_ok.gif" align="bottom"/></td>
              </tr>
              <tr>
                <td colspan="2">Esqueceu sua senha? <a href="login_recupera.php">Clique aqui</a></td>
              </tr>            
            </table>
          </form>